import request from '@/utils/request'

// 查询会议绑定人员列表
export function listMeetingAttendee(query) {
  return request({
    url: '/officeMeeting/meetingAttendee/list',
    method: 'get',
    params: query
  })
}

// 查询会议绑定人员所有列表
export function listAllMeetingAttendee(query) {
  return request({
    url: '/officeMeeting/meetingAttendee/listAll',
    method: 'get',
    params: query
  })
}

// 查询会议绑定人员详细
export function getMeetingAttendee(id) {
  return request({
    url: '/officeMeeting/meetingAttendee/getInfo/' + id,
    method: 'get'
  })
}

// 新增会议绑定人员
export function addMeetingAttendee(data) {
  return request({
    url: '/officeMeeting/meetingAttendee/add',
    method: 'post',
    data: data
  })
}

// 修改会议绑定人员
export function updateMeetingAttendee(data) {
  return request({
    url: '/officeMeeting/meetingAttendee/edit',
    method: 'post',
    data: data
  })
}

// 删除会议绑定人员
export function delMeetingAttendee(id) {
  return request({
    url: '/officeMeeting/meetingAttendee/remove/' + id,
    method: 'get'
  })
}
